Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2025

Bumps @astrojs/starlight-tailwind from 3.0.1 to 4.0.1.

Release notes

Sourced from @​astrojs/starlight-tailwind's releases.

@​astrojs/starlight-tailwind@​4.0.1

Patch Changes

@​astrojs/starlight-tailwind@​4.0.0

Major Changes

  • #2322 f14eb0c Thanks @​HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.34.0

    Please use the @astrojs/upgrade command to upgrade your project:

    npx @astrojs/upgrade
  • #2322 f14eb0c Thanks @​HiDeoo! - Adds support for Tailwind v4, drops support for Tailwind v3.

    ⚠️ BREAKING CHANGE: Tailwind v3 is no longer supported. Tailwind v4 support in Astro is now provided using a Vite plugin and the Astro Tailwind integration is no longer required.

    1. Remove the Astro Tailwind integration. The Astro Tailwind integration is no longer required with Tailwind v4.

       // astro.config.mjs
       import { defineConfig } from "astro/config";
       import starlight from "@astrojs/starlight";
      -import tailwind from "@astrojs/tailwind";
      export default defineConfig({
      integrations: [
      starlight({
      title: "Docs with Tailwind",
      customCss: ["./src/tailwind.css"],
      }),
      
      tailwind({ applyBaseStyles: false }),
      ],
      });
  • Install Tailwind v4. Install the latest version of the tailwindcss and @tailwindcss/vite packages.

    Use the astro add tailwind command to install and configure both packages:

    npx astro add tailwind
  • Update Tailwind base styles. Tailwind CSS base styles needs to be updated for Tailwind v4 and also to use Starlight Tailwind CSS.

  • ... (truncated)

    Changelog

    Sourced from @​astrojs/starlight-tailwind's changelog.

    4.0.1

    Patch Changes

    4.0.0

    Major Changes

    • #2322 f14eb0c Thanks @​HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.34.0

      Please use the @astrojs/upgrade command to upgrade your project:

      npx @astrojs/upgrade
    • #2322 f14eb0c Thanks @​HiDeoo! - Adds support for Tailwind v4, drops support for Tailwind v3.

      ⚠️ BREAKING CHANGE: Tailwind v3 is no longer supported. Tailwind v4 support in Astro is now provided using a Vite plugin and the Astro Tailwind integration is no longer required.

      1. Remove the Astro Tailwind integration. The Astro Tailwind integration is no longer required with Tailwind v4.

         // astro.config.mjs
         import { defineConfig } from "astro/config";
         import starlight from "@astrojs/starlight";
        -import tailwind from "@astrojs/tailwind";
        export default defineConfig({
        integrations: [
        starlight({
        title: "Docs with Tailwind",
        customCss: ["./src/tailwind.css"],
        }),
        
        tailwind({ applyBaseStyles: false }),
        ],
        });
  • Install Tailwind v4. Install the latest version of the tailwindcss and @tailwindcss/vite packages.

    Use the astro add tailwind command to install and configure both packages:

    npx astro add tailwind
  • Update Tailwind base styles. Tailwind CSS base styles needs to be updated for Tailwind v4 and also to use Starlight Tailwind CSS.

  • ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    @dependabot dependabot bot requested a review from KianNH April 17, 2025 20:19
    @dependabot dependabot bot requested a review from a team as a code owner April 17, 2025 20:19
    @dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 17, 2025
    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-tailwind-4.0.1 branch 3 times, most recently from 1f61661 to 30aa928 Compare April 23, 2025 20:59
    Bumps [@astrojs/starlight-tailwind](https://github.com/withastro/starlight/tree/HEAD/packages/tailwind) from 3.0.1 to 4.0.1.
    - [Release notes](https://github.com/withastro/starlight/releases)
    - [Changelog](https://github.com/withastro/starlight/blob/main/packages/tailwind/CHANGELOG.md)
    - [Commits](https://github.com/withastro/starlight/commits/@astrojs/[email protected]/packages/tailwind)
    
    ---
    updated-dependencies:
    - dependency-name: "@astrojs/starlight-tailwind"
      dependency-version: 4.0.1
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-tailwind-4.0.1 branch from 30aa928 to c11e0a7 Compare April 23, 2025 21:01
    @dependabot @github
    Copy link
    Contributor Author

    dependabot bot commented on behalf of github Apr 28, 2025

    Looks like @astrojs/starlight-tailwind is up-to-date now, so this is no longer needed.

    @dependabot dependabot bot closed this Apr 28, 2025
    @dependabot dependabot bot deleted the dependabot/npm_and_yarn/astrojs/starlight-tailwind-4.0.1 branch April 28, 2025 15:54
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code size/s

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    5 participants